window.Promise = Promise
import "@babel/polyfill"
import Vue from 'vue'
import "@/assets/winterActivity/css/activity.css"
import VueCookie from "vue-cookies"

Vue.use(VueCookie)
Vue.prototype.$tips = (options)=> { 
  let div = document.createElement("div");
  div.className = `tip-color tip-${options.type}`;
  div.innerHTML = options.content;
  document.body.appendChild(div);
  setTimeout(function(){
      document.body.removeChild(div);
  }, options.time || 1500);
}
import App from './cathedra'
window.bus = new Vue();
new Vue({
  el: '#cathedra',
  render: h => h(App),
});